//
//  UIView+Extension.swift
//  SinaWeibo
//
//  Created by 李江波 on 2016/11/14.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

import UIKit

extension UIView {

    //可视化视图显示
    @IBInspectable var cornerRadius : CGFloat {
        
        set{
            layer.cornerRadius = newValue
            layer.masksToBounds = true
        }
        
        get{
            
            return layer.cornerRadius
        }
    }
    
}
